#include "Queue.h"

void queueTest()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 0);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	QueuePush(&q, 5);

	//QueuePop(&q);

	while (!QueueEmpty(&q))
	{
		printf("%d  ", QueueFront(&q));
		QueuePop(&q);
	}

	QueueDestory(&q);
}


int main(void)
{
	queueTest();

	return 0;
}